package com.bruce.demo2.patterns.demo2.structural.demo08.decorator;

/**
 * @PROJECT_NAME: design_patterns
 * @DESCRIPTION: 炒饭
 * @AUTHOR: CNBruceLee
 * @DATE: 2021/7/25 21:14
 */
public class Noodles extends FastFood {
    public Noodles() {
        super("拉面", 8);
    }

    public float cost() {
        return this.getPrice();
    }
}
